﻿namespace GoodAdmin.Core;

public class DbConnectionOptions : IConfigurableOptions
{
    public List<DbConnectionConfig> ConnectionConfigs { get; set; }
}
public class DbConnectionConfig : ConnectionConfig
{
    /// <summary>
    /// 数据库名称
    /// </summary>
    public string Name { get; set; }
    /// <summary>
    /// 启用库表初始化
    /// </summary>
    public bool EnableInitDb { get; set; }

    /// <summary>
    /// 是否初始化种子数据
    /// </summary>
    public bool EnableSeedData { get; set; }

    /// <summary>
    /// 启用驼峰转下划线
    /// </summary>
    public bool EnableUnderLine { get; set; }
}